package com.service.cargo;

import com.domain.cargo.ContractProduct;
import com.domain.cargo.ContractProductExample;
import com.domain.cargo.CountMoney;
import com.domain.vo.ContractProductVo;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ContractProductService {

    PageInfo findAll(ContractProductExample example, Integer page, Integer size);

    Integer save(ContractProduct contractProduct);

    Integer update(ContractProduct contractProduct);

    Integer delete(String id);

    ContractProduct findById(String id);

    List<ContractProductVo> findByShipTime(String inputDate);

    void countMoneyByFactory();
}
